﻿#include "daily.h"
#include "ui_daily.h"

Daily::Daily(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Daily)
{
    ui->setupUi(this);

    journal =new Journal(this);
    memo=new Memo(this);
    notice=new Notice(this);

    ui->tabWidget->addTab(memo,QStringLiteral("备忘"));
    ui->tabWidget->addTab(notice,QStringLiteral("注意事项"));
    ui->tabWidget->addTab(journal,QStringLiteral("日志"));
}

Daily::~Daily()
{
    delete ui;
}
